package com.yf.repo.modules.repo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

/**
* <p>
* 题库章节实体类
* </p>
*
* @author 聪明笨狗
* @since 2020-12-01 10:44
*/
@Data
@TableName("el_repo_chapter")
public class RepoChapter extends Model<RepoChapter> {

    private static final long serialVersionUID = 1L;

    /**
    * ID
    */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    /**
    * 题库ID
    */
    @TableField("repo_id")
    private String repoId;

    /**
    * 章节名称
    */
    private String title;

    /**
    * 章节顺序
    */
    private Integer sort;

}
